package com.vanke.devops.domain.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 陈景阳
 * @since 2018/3/14
 */
@Getter
@Setter
@ConfigurationProperties(AliyunProperties.ALI_YUN_PREFIX)
public class AliyunProperties {

    public static final String ALI_YUN_PREFIX = "ali.yun.access.key";

    private static final String DEFAULT_REGION = "cn-hangzhou";

    private String id;

    private String secret;

    private String region = DEFAULT_REGION;
}
